Skip to content

fix(hmr): trigger hmr for missing file import errored module after file creation#16303

Merged
patak-cat merged 4 commits into
vitejs:mainfrom
sapphi-red:fix/hmr-update-on-missing-file-created
Mar 29, 2024
Merged

fix(hmr): trigger hmr for missing file import errored module after file creation#16303
patak-cat merged 4 commits into
vitejs:mainfrom
sapphi-red:fix/hmr-update-on-missing-file-created

Conversation

@sapphi-red
Copy link
Copy Markdown
Member

Description

Built on top of #16302

Implemented the following fix described in #10663

Keep a shell module if an import doesn't exist so we have a direct link to the non-existent file upon creation.

fixes #10663
close #16222

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat: hmr p3-minor-bug An edge case that only affects very specific usage (priority)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Module graph doesn't track new files that were previously missing

2 participants